
package ytdp.careagle.com.ytdp.entity;

import com.google.gson.Gson;

import java.io.Serializable;
import java.util.List;

public class VehicleSeries implements Serializable {

    private int id;
    private String advertsing;
    private String bodyName;
    private String code;
    private String name;
    private String coverImage;
    private int shopId;

    public static VehicleSeries objectFromData(String str) {

        return new Gson().fromJson(str, VehicleSeries.class);
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAdvertsing() {
        return advertsing;
    }

    public void setAdvertsing(String advertsing) {
        this.advertsing = advertsing;
    }

    public String getBodyName() {
        return bodyName;
    }

    public void setBodyName(String bodyName) {
        this.bodyName = bodyName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCoverImage() {
        return coverImage;
    }

    public void setCoverImage(String coverImage) {
        this.coverImage = coverImage;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }
}
